let mutations = {
    ['SET_PLAY_LIST'](state,list) {
        state.playlist = list
    },
    ['SET_SEQUENCE_LIST'](state,list) {
        state.sequenceList = list
    },
    ['SET_PLAY_MODE'](state,mode) {
        state.mode = mode
    },
    ['TOGGLE_PLAYER'](state, flag) {
        state.fullScreen = flag
    },
    ['SET_CURRENT_INDEX'](state, index) {
        state.currentIndex = index
    },
    ['GET_SONG_SRC'](state, src) {
        state.songSrc = src
    },
    ['GET_SONG_LYRIC'](state, lyric) {
        state.songLyric = lyric
    },
}   

export default mutations